package myprojectcompany

class Project {
	String name
	String customer
	String web
	Date startDate
	
	static belongsTo = BusinessUnit
	
	static constraints = {
		name(nullable:true, maxSize:100, blank:false)
		customer(nullable:true, maxSize:100, blank:false)
		web(nullable:true, url:true)
		startDate(nullable:true)
	}

	static hasMany = [ employees : Employee ]
}
